package com.dark.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dark.model.po.JCache;

/**
 * <p>
 *  系统缓存
 * </p>
 *
 * @author chengluchao
 * @since 2023-08-26
 */
public interface IJCacheService extends IService<JCache> {
    void set(String key, String value);

    /**
     *
     * @param key
     * @param value
     * @param timeOut 过期时间，ms
     */
    void set(String key, String value, long timeOut);

    String get(String key);

    void del(String key);
}
